import { createApp } from 'vue'
import { createPinia } from 'pinia'
import router from './router';

import './permission';

// 自定义图标引入vite-plugin-svg-icons
import 'virtual:svg-icons-register';

//引入elementIcons
import elementPlusIcons from '@/plugins/elementPlusIcons'

//自定义指令
import directive from './directive'

import App from './App.vue'

const app = createApp(App)

app.use(elementPlusIcons)
app.use(directive)
app.use(createPinia())
app.use(router)

app.mount('#app')

